#ifndef __server_H__
#define __server_H__

#include "../include/cmd.h"
#define MAXSIZE 1000
#define MAX_NUM 100


void set_nonblock(int fd);
int create_connect(int port,const char* ip);
int create_epoll(int fd);
void add_rw_epoll(int efd,int fd);
void add_r_epoll(int efd,int fd);
void del_epoll(int efd,int fd);

#endif
